package com.demo.springboot.dao;

import com.demo.springboot.entity.News;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NewsMapper {

    News selectById(Integer id);

    int insertNews(News news);
}
